package msu.ml.core;
import weka.core.*;

/**
 * The NxInstance class provides an adapter for
 * using the Weka Instance class in the Nexrad
 * Explorer software.
 *
 * @author Reginald M Mead
 * @version 1.0
 */
public class NxInstance extends Instance 
{
   protected double [] hiddenValues;

   protected NxInstance(/*@non_null@*/ Instance instance) {super(instance);}
   public NxInstance(double weight,  /*@non_null@*/ double[]attValues)
   {
      super(weight, attValues);
   }

   public NxInstance(int numAttributes) 
   {
      super(numAttributes);
   }

   public double getHiddenValue(int index)
   {
      return this.hiddenValues[index];
   }

   public void setHiddenValues(double [] hiddenValues)
   {
      this.hiddenValues = hiddenValues;
   }
}
